package c.h.a.j0;

import android.opengl.GLSurfaceView;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.liuzh.deviceinfo.DeviceInfoApp;
import com.liuzh.deviceinfo.card.GpuCard;

/* compiled from: TabCpu */
public class m0 extends h0 {
    public View W;
    public GpuCard X;

    public View G(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
        if (this.W == null) {
            View inflate = layoutInflater.inflate(2131493051, viewGroup, false);
            this.W = inflate;
            this.X = (GpuCard) inflate.findViewById(2131296587);
        }
        return this.W;
    }

    public void N() {
        this.E = true;
        GpuCard gpuCard = this.X;
        if (gpuCard != null) {
            GLSurfaceView gLSurfaceView = gpuCard.j;
            if (gLSurfaceView != null) {
                gLSurfaceView.onPause();
            }
        }
    }

    public void P() {
        this.E = true;
        GpuCard gpuCard = this.X;
        if (gpuCard != null) {
            GLSurfaceView gLSurfaceView = gpuCard.j;
            if (gLSurfaceView != null) {
                gLSurfaceView.onResume();
            }
        }
    }

    public String r0() {
        return DeviceInfoApp.c.getString(2131690433);
    }
}
